package com.java.admin.service.impl;

import com.java.admin.service.OrderService;
import com.java.clients.OrderClient;
import com.java.param.PageParam;
import com.java.utils.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderClient orderClient;
    @Override
    public R list(PageParam pageParam) {

        R r = orderClient.adminList(pageParam);
        log.info("OrderServiceImpl.list 业务已经完成,结果:{}", r);
        return r;
    }
}
